<template>
  <el-result status="404" title="404" sub-title="Sorry, the page you visited does not exist.">
    <template #extra>
      <el-button type="primary" @click="toHome">返回首页（ Back Home ） </el-button>
    </template>
  </el-result>
</template>

<script lang="ts">
export default {
  name: "Exception404",
  methods: {
    toHome() {
      this.$router.push({ path: "/" });
    }
  }
};
</script>
